package com.witmed.entity;
/**
 * 文章评论实体类
 * @author ChenYouming
 *
 */
public class Discuss {
	private Integer discussId;	
	private String discussContent;		
	private String discussTime;	
	private UserInfo user;				
	private Article article;			
	private Discuss discuss;
	public Discuss(Integer discussId, String discussContent, String discussTime, UserInfo user, Article article,
			Discuss discuss) {
		super();
		this.discussId = discussId;
		this.discussContent = discussContent;
		this.discussTime = discussTime;
		this.user = user;
		this.article = article;
		this.discuss = discuss;
	}
	public Discuss() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Discuss [discussId=" + discussId + ", discussContent=" + discussContent + ", discussTime=" + discussTime
				+ ", user=" + user + ", article=" + article + ", discuss=" + discuss + "]";
	}
	public Integer getDiscussId() {
		return discussId;
	}
	public void setDiscussId(Integer discussId) {
		this.discussId = discussId;
	}
	public String getDiscussContent() {
		return discussContent;
	}
	public void setDiscussContent(String discussContent) {
		this.discussContent = discussContent;
	}
	public String getDiscussTime() {
		return discussTime;
	}
	public void setDiscussTime(String discussTime) {
		this.discussTime = discussTime;
	}
	public UserInfo getUser() {
		return user;
	}
	public void setUser(UserInfo user) {
		this.user = user;
	}
	public Article getArticle() {
		return article;
	}
	public void setArticle(Article article) {
		this.article = article;
	}
	public Discuss getDiscuss() {
		return discuss;
	}
	public void setDiscuss(Discuss discuss) {
		this.discuss = discuss;
	}
}